"""
@Project ：minium-test 
@File    ：first_test.py
@IDE     ：PyCharm 
@Author  ：kevin
@Date    ：2022/1/23 下午9:50 
"""

# !/usr/bin/env python3
import minium


class FirstTest(minium.MiniTest):

    def test_get_system_info(self):
        sys_info = self.mini.get_system_info()
        self.assertIn("SDKVersion", sys_info)

    def test_click(self):
        page = self.app.navigate_to("/pages/login/selflogin")
        e = page.get_element("/page/view/view[3]/button")
        e.click()